﻿<UserControl x:Class="QUT.Bio.SilverMap.Snapshot"
			 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
			 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
	<Grid>
		<Grid.RowDefinitions>
			<RowDefinition Height="auto" />
			<RowDefinition Height="*" />
			<RowDefinition Height="3" />
			<RowDefinition Height="auto" />
			<RowDefinition Height="auto" />
			<RowDefinition Height="3" />
			<RowDefinition Height="auto" />
		</Grid.RowDefinitions>

		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="*" />
			<ColumnDefinition Width="auto" />
		</Grid.ColumnDefinitions>

		<TextBlock Grid.Row="0"
				   Grid.Column="0"
				   Text="HTML insert:" />
				   
		<TextBox x:Name="htmlTextBlock"
				 FontFamily="Courier New"
				 FontSize="10"
				 Text="You should not be able to see this!"
				 HorizontalScrollBarVisibility="Auto"
				 VerticalScrollBarVisibility="Auto"
				 IsReadOnly="True"
				 Grid.Row="1"
				 Grid.Column="0"
				 HorizontalAlignment="Stretch"
				 VerticalAlignment="Stretch" />

		<Button x:Name="htmlCopyButton"
				Margin="3 0 0 0"
				Grid.Row="1"
				Grid.Column="1"
				VerticalAlignment="Top">
			<!-- Content="Copy to clipboard" -->
			<ContentControl.Content>
				<Image Source="images/CopyHS.png"
					   Width="16"
					   Height="16"
					   ToolTipService.ToolTip="Copy to Clipboard" />
			</ContentControl.Content>
		</Button>

		<TextBlock Grid.Row="3" Grid.Column="0" Text="URL:"/>
		
		<TextBox x:Name="urlTextBlock"
				 FontFamily="Courier New"
				 FontSize="10"
				 Text="You should not be able to see this!"
				 HorizontalScrollBarVisibility="Auto"
				 VerticalScrollBarVisibility="Auto"
				 IsReadOnly="True"
				 Height="36"
				 Grid.Row="4"
				 Grid.Column="0"
				 HorizontalAlignment="Stretch" />

		<Button x:Name="urlCopyButton"
				Margin="3 0 0 0"
				Grid.Row="4"
				Grid.Column="1"
				VerticalAlignment="Top">
			<!-- Content="Copy to clipboard" -->
			<ContentControl.Content>
				<Image Source="images/CopyHS.png"
					   Width="16"
					   Height="16"
					   ToolTipService.ToolTip="Copy to Clipboard" />
			</ContentControl.Content>
		</Button>

		<StackPanel Grid.Row="6"
					HorizontalAlignment="Center"
					Orientation="Horizontal">
			<Button x:Name="refreshButton"
					Content="Refresh"
					Margin="0 0 0 0" />
		</StackPanel>
	</Grid>
</UserControl>
